# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-opera
pkgver=0_git20200217
pkgrel=0
_commit="27bc2653ed469072a6a95102a8212a35fbb1e590"
pkgdesc="port of 4DO/libfreedo to libretro"
url="https://github.com/libretro/opera-libretro"
arch="all"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/opera-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/opera-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 opera_libretro.so "$pkgdir"/usr/lib/libretro/opera_libretro.so
}

sha512sums="3c29190faeb87d98c7f0cf891344590f72088f85791670a316298dceb642187166e41eb7fe82eac63664d30ed847edaa2b46096ffd6c067e376c6499a7220f8a  libretro-opera-27bc2653ed469072a6a95102a8212a35fbb1e590.tar.gz"
